package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipDevCategory;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.util.ResultBean;
@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipDevCategoryService {
	@RequestMapping(value = "/p/cs/equipDevCategoryService/insert",method = RequestMethod.POST)
	public ResultBean insert (@RequestBody EquipDevCategory equipDevCategory) ;
	
	@RequestMapping(value = "/p/cs/EquipDevCategoryService/update",method = RequestMethod.POST)
	public ResultBean update (@RequestBody EquipDevCategory equipDevCategory);
	
	@RequestMapping(value = "/p/cs/EquipDevCategoryService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete (@RequestBody List<EquipDevCategory> list);
	@RequestMapping(value = "/p/cs/EquipDevCategoryService/selectByFields",method = RequestMethod.POST)
	public ResultDev selectByFields (@RequestBody EquipDevCategory equipDevCategory);
	@RequestMapping(value = "/p/cs/EquipDevCategoryService/selectAll",method = RequestMethod.POST)
	public ResultDev selectAll();

}
